package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 盘点明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-09-30
 */
@Data
@ApiModel(value="DifferenceItemVO对象", description="盘点明细")
public class DifferenceItemVO implements Serializable {


    @ApiModelProperty(value = "数据标识")
    private String code;

   @ApiModelProperty(value = "所属机构")
   private String groupCode;

    @ApiModelProperty(value = "差异单号")
   private String differenceCode;

   @ApiModelProperty(value = "盘点登记编码")
   private String countingRegisterCode;

    @ApiModelProperty(value = "库存标识")
    private String inventoryCode;

    @ApiModelProperty(value = "货主编码")
    private String shipmentCode;

    @ApiModelProperty(value = "商品编码")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "单位名称")
    private String goodsUnitName;

    @ApiModelProperty(value = "库存数量")
    private BigDecimal inventoryQuantity;

    @ApiModelProperty(value = "差异数量")
    private BigDecimal differenceQuantity;

    @ApiModelProperty(value = "盘点数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "库位")
    private String location;

    @ApiModelProperty(value = "生产日期")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime gmtManufacture;

    @ApiModelProperty(value = "过期日期")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime gmtExpire;

    @ApiModelProperty(value = "存货日期")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime gmtStock;

    @ApiModelProperty(value = "批次号")
    private String lot;

    @ApiModelProperty(value = "收货批次")
    private String receiveLot;

    @ApiModelProperty(value = "供应商")
    private String supplier;

    @ApiModelProperty(value = "序列号")
    private String serialNumber;

    @ApiModelProperty(value = "扩展字段")
    private String extendOne;

    @ApiModelProperty(value = "扩展字段")
    private String extendTwo;

    @ApiModelProperty(value = "扩展字段")
    private BigDecimal extendThree;

    @ApiModelProperty(value = "扩展字段")
    private BigDecimal extendFour;

    @ApiModelProperty(value = "扩展字段")
    private LocalDateTime extendFive;

    @ApiModelProperty(value = "扩展字段")
    private LocalDateTime extendSix;

    @ApiModelProperty(value = "锁定状态")
    private Integer isLock;

    @ApiModelProperty(value = "库存状态")
    private String inventoryStatus;

    @ApiModelProperty(value = "库存状态名称")
    private String goodsStatusName;

    @ApiModelProperty(value = "库存状态名称")
    private String goodsStatus;

    @ApiModelProperty(value = "类型，0盘盈，1盘亏")
    private String type;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "库区")
    private String warehouseSpaceCode;

    @ApiModelProperty(value = "库区")
    private String warehouseSpaceName;

 @ApiModelProperty(value = "容器号")
 private String containerBarCode;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "库位")
    private String locationName;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;
}
